Optimal. Leaf size=58 \[ \frac {2 \sqrt {a} F\left (\sin ^{-1}\left (\frac {\sqrt {1-c} \sqrt {a+b x}}{\sqrt {a}}\right )|\frac {1-e}{1-c}\right )}{b \sqrt {1-c}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 58, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 40, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.025, Rules used = {120}
\begin {gather*} \frac {2 \sqrt {a} F\left (\text {ArcSin}\left (\frac {\sqrt {1-c} \sqrt {a+b x}}{\sqrt {a}}\right )|\frac {1-e}{1-c}\right )}{b \sqrt {1-c}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 120
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {a+b x} \sqrt {c+\frac {b (-1+c) x}{a}} \sqrt {e+\frac {b (-1+e) x}{a}}} \, dx &=\frac {2 \sqrt {a} F\left (\sin ^{-1}\left (\frac {\sqrt {1-c} \sqrt {a+b x}}{\sqrt {a}}\right )|\frac {1-e}{1-c}\right )}{b \sqrt {1-c}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(129\) vs. \(2(58)=116\).
time = 10.97, size = 129, normalized size = 2.22 \begin {gather*} -\frac {2 (a+b x) \sqrt {\frac {-1+c+\frac {a}{a+b x}}{-1+c}} \sqrt {\frac {-1+e+\frac {a}{a+b x}}{-1+e}} F\left (\sin ^{-1}\left (\frac {\sqrt {-\frac {a}{-1+c}}}{\sqrt {a+b x}}\right )|\frac {-1+c}{-1+e}\right )}{b \sqrt {-\frac {a}{-1+c}} \sqrt {c+\frac {b (-1+c) x}{a}} \sqrt {e+\frac {b (-1+e) x}{a}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(178\) vs.
\(2(49)=98\).
time = 0.13, size = 179, normalized size = 3.09
method | result | size |
default | \(\frac {2 a \sqrt {\frac {\left (-1+c \right ) \left (b e x +a e -b x \right )}{a \left (c -e \right )}}\, \sqrt {-\frac {\left (b x +a \right ) \left (-1+e \right )}{a}}\, \sqrt {-\frac {\left (-1+e \right ) \left (b c x +a c -b x \right )}{a \left (c -e \right )}}\, \EllipticF \left (\sqrt {\frac {\left (-1+c \right ) \left (b e x +a e -b x \right )}{a \left (c -e \right )}}, \sqrt {\frac {c -e}{-1+c}}\right ) \left (c -e \right )}{\sqrt {b x +a}\, \sqrt {\frac {b c x +a c -b x}{a}}\, \sqrt {\frac {b e x +a e -b x}{a}}\, b \left (-1+e \right ) \left (-1+c \right )}\) | \(179\) |
elliptic | \(\frac {2 \sqrt {\frac {\left (b x +a \right ) \left (b c x +a c -b x \right ) \left (b e x +a e -b x \right )}{a^{2}}}\, \left (-\frac {a c}{b \left (-1+c \right )}+\frac {a e}{b \left (-1+e \right )}\right ) \sqrt {\frac {x +\frac {a e}{b \left (-1+e \right )}}{-\frac {a c}{b \left (-1+c \right )}+\frac {a e}{b \left (-1+e \right )}}}\, \sqrt {\frac {x +\frac {a}{b}}{-\frac {a e}{b \left (-1+e \right )}+\frac {a}{b}}}\, \sqrt {\frac {x +\frac {a c}{b \left (-1+c \right )}}{-\frac {a e}{b \left (-1+e \right )}+\frac {a c}{b \left (-1+c \right )}}}\, \EllipticF \left (\sqrt {\frac {x +\frac {a e}{b \left (-1+e \right )}}{-\frac {a c}{b \left (-1+c \right )}+\frac {a e}{b \left (-1+e \right )}}}, \sqrt {\frac {-\frac {a e}{b \left (-1+e \right )}+\frac {a c}{b \left (-1+c \right )}}{-\frac {a e}{b \left (-1+e \right )}+\frac {a}{b}}}\right )}{\sqrt {b x +a}\, \sqrt {\frac {b c x +a c -b x}{a}}\, \sqrt {\frac {b e x +a e -b x}{a}}\, \sqrt {\frac {b^{3} c e \,x^{3}}{a^{2}}+\frac {3 b^{2} c e \,x^{2}}{a}-\frac {b^{3} c \,x^{3}}{a^{2}}-\frac {b^{3} e \,x^{3}}{a^{2}}+3 b c e x -\frac {2 b^{2} c \,x^{2}}{a}-\frac {2 b^{2} e \,x^{2}}{a}+\frac {b^{3} x^{3}}{a^{2}}+a c e -b c x -b e x +\frac {b^{2} x^{2}}{a}}}\) | \(425\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.17, size = 420, normalized size = 7.24 \begin {gather*} -\frac {2 \, a^{2} \sqrt {-\frac {b^{3} c - b^{3} - {\left (b^{3} c - b^{3}\right )} e}{a^{2}}} {\rm weierstrassPInverse}\left (\frac {4 \, {\left (a^{2} c^{2} - a^{2} c + a^{2} e^{2} + a^{2} - {\left (a^{2} c + a^{2}\right )} e\right )}}{3 \, {\left (b^{2} c^{2} - 2 \, b^{2} c + b^{2} + {\left (b^{2} c^{2} - 2 \, b^{2} c + b^{2}\right )} e^{2} - 2 \, {\left (b^{2} c^{2} - 2 \, b^{2} c + b^{2}\right )} e\right )}}, \frac {4 \, {\left (2 \, a^{3} c^{3} - 3 \, a^{3} c^{2} - 3 \, a^{3} c + 2 \, a^{3} e^{3} + 2 \, a^{3} - 3 \, {\left (a^{3} c + a^{3}\right )} e^{2} - 3 \, {\left (a^{3} c^{2} - 4 \, a^{3} c + a^{3}\right )} e\right )}}{27 \, {\left (b^{3} c^{3} - 3 \, b^{3} c^{2} + 3 \, b^{3} c - b^{3} - {\left (b^{3} c^{3} - 3 \, b^{3} c^{2} + 3 \, b^{3} c - b^{3}\right )} e^{3} + 3 \, {\left (b^{3} c^{3} - 3 \, b^{3} c^{2} + 3 \, b^{3} c - b^{3}\right )} e^{2} - 3 \, {\left (b^{3} c^{3} - 3 \, b^{3} c^{2} + 3 \, b^{3} c - b^{3}\right )} e\right )}}, \frac {2 \, a c + 3 \, {\left (b c - b\right )} x - {\left (3 \, a c + 3 \, {\left (b c - b\right )} x - 2 \, a\right )} e - a}{3 \, {\left (b c - {\left (b c - b\right )} e - b\right )}}\right )}{b^{3} c - b^{3} - {\left (b^{3} c - b^{3}\right )} e} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {a + b x} \sqrt {c + \frac {b c x}{a} - \frac {b x}{a}} \sqrt {e + \frac {b e x}{a} - \frac {b x}{a}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {1}{\sqrt {c+\frac {b\,x\,\left (c-1\right )}{a}}\,\sqrt {e+\frac {b\,x\,\left (e-1\right )}{a}}\,\sqrt {a+b\,x}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________